package com.etu.jsonservices.command;

import com.etu.jsonservices.exception.CommandNotReadyForExecutionException;

/**
 * Stateful representation of a <i>transactional</i> unit of work.
 * 
 * @author uye
 */
public interface IStatefulCommand {

    public void execute() throws Exception;

    public void undo();
 
}
